diff --git a/custom_components/little_monkey/CHANGELOG.md b/custom_components/little_monkey/CHANGELOG.md index 33c73ee..b79338c 100644 --- a/custom_components/little_monkey/CHANGELOG.md +++ b/custom_components/little_monkey/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.1.0 + +- Version Beta + ## 0.0.1 - Version Alpha diff --git a/custom_components/little_monkey/config_flow.py b/custom_components/little_monkey/config_flow.py index ee48cf2..ec7b00d 100644 --- a/custom_components/little_monkey/config_flow.py +++ b/custom_components/little_monkey/config_flow.py @@ -215,9 +215,9 @@ async def async_step_init( if user_input is not None: # Update config entry with data from user input self.hass.config_entries.async_update_entry( - self._config_entry, + entry=self._config_entry, data=user_input, - options={ CONF_LANG: DEFAULT_LANG } + # options={ CONF_LANG: DEFAULT_LANG } ) client = await self._get_cookies( diff --git a/custom_components/little_monkey/const.py b/custom_components/little_monkey/const.py index a342acd..7205158 100644 --- a/custom_components/little_monkey/const.py +++ b/custom_components/little_monkey/const.py @@ -7,7 +7,7 @@ DOMAIN = "little_monkey" MANUFACTURER = "Jean-Marc Cruvellier" MODEL = "Ecojoko" -VERSION = "0.0.1" +VERSION = "0.1.0" ATTRIBUTION = "Data provided by https://service.ecojoko.com//" POLL_INTERVAL = "poll_interval" DEFAULT_POLL_INTERVAL = "5" diff --git a/custom_components/little_monkey/manifest.json b/custom_components/little_monkey/manifest.json index fcdbfac..e5831c0 100644 --- a/custom_components/little_monkey/manifest.json +++ b/custom_components/little_monkey/manifest.json @@ -9,5 +9,5 @@ "integration_type": "device", "iot_class": "cloud_polling", "issue_tracker": "https://github.com/jmcruvellier/little_monkey/issues", - "version": "0.0.1" + "version": "0.1.0" } \ No newline at end of file diff --git a/custom_components/little_monkey/sensor.py b/custom_components/little_monkey/sensor.py index 2ec2ca6..c62b5cb 100644 --- a/custom_components/little_monkey/sensor.py +++ b/custom_components/little_monkey/sensor.py @@ -13,7 +13,7 @@ CONF_USE_HCHP_FEATURE, CONF_USE_TEMPO_FEATURE, CONF_USE_TEMPHUM_FEATURE, - CONF_USE_PROD_FEATURE, + CONF_USE_PROD_FEATURE ) async def async_setup_entry(hass, config_entry, async_add_entities): @@ -21,8 +21,6 @@ async def async_setup_entry(hass, config_entry, async_add_entities): # Fetch data or configure your sensors here coordinator = hass.data[DOMAIN][config_entry.entry_id] - # Beginning of new code - # Create the main device entity firmware = coordinator.data["gateway_firmware_version"] main_device = EcojokoEntity(coordinator, config_entry.data.get(CONF_NAME), firmware)