public ScenesActivator( ILogger <ScenesActivator> logger, IEnumerable <IScene> scenes, HomeAssistantWebSocketConnector webSocketConnector, HomeAssistantConnector connector) { this.logger = logger; this.scenes = scenes; this.webSocketConnector = webSocketConnector; this.connector = connector; }
public AutomationsSupervisor( ILogger <AutomationsSupervisor> logger, HomeAssistantConnector connector, HomeAssistantWebSocketConnector webSocketConnector, IEnumerable <IEntityStateAutomation> entityStateAutomations, IEnumerable <IEntitiesStateAutomation> entitiesStatesAutomations, IEnumerable <ITimeUpdate> timeUpdateAutomations, IDateTimeHelper dateTimeHelper) { this.logger = logger; this.connector = connector; this.webSocketConnector = webSocketConnector; this.stateAutomations = entityStateAutomations; this.entitiesStatesAutomations = entitiesStatesAutomations; this.timeUpdateAutomations = timeUpdateAutomations; this.dateTimeHelper = dateTimeHelper; }