Skip to content
Snippets Groups Projects
Commit 963cd73c authored by jkerdreu's avatar jkerdreu
Browse files

Splitted powermeter



git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@3023 b32b6428-25c9-4566-ad07-03861ab6144f
parent 0a2f99f0
No related branches found
No related tags found
No related merge requests found
......@@ -19,17 +19,18 @@ async def async_setup_entry(
hass: HomeAssistant,
config_entry: ConfigEntry,
async_add_entities: AddEntitiesCallback ) -> None:
binding = {'thermometer.' : [Thermometer ],
'hygrometer.' : [Hygrometer],
'barometer.' : [Barometer],
'battery.' : [Battery],
'powermeter.' : [PowerMeter,CurrentMeter, VoltMeter],
'wifimeter.' : [WifiMeter],
'luxmeter.' : [LuxMeter],
'co2meter.' : [CO2Meter],
'soundmeter.' : [SoundMeter],
'gateway.' : [Gateway],
'tts.' : [TTS],
binding = {'thermometer.' : [Thermometer ],
'hygrometer.' : [Hygrometer],
'barometer.' : [Barometer],
'battery.' : [Battery],
'powermeter.full' : [PowerMeter,CurrentMeter, VoltMeter],
'powermeter.' : [PowerMeter],
'wifimeter.' : [WifiMeter],
'luxmeter.' : [LuxMeter],
'co2meter.' : [CO2Meter],
'soundmeter.' : [SoundMeter],
'gateway.' : [Gateway],
'tts.' : [TTS],
}
return async_setup_factory(hass, config_entry, async_add_entities, binding)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment