diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..1f9f2a6 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,14 @@ +# Change Log +The format is based on [Keep a Changelog](http://keepachangelog.com/) +and this project adheres to [Semantic Versioning](http://semver.org/). + +## 1.0.2 (Unreleased) + +### Bugfixes +- Removes `device_class=temperature` restriction when picking your temperature sensor. (Issue#1)[https://github.com/SourceLabOrg/HomeAssistant-PVOutputPublisher/issues/1] + +## 1.0.1 (03/23/2026) +Setup and submitted to HACs! + +## 1.0.0 (03/23/2026) +Initial internal release! diff --git a/custom_components/pvoutput_publisher/config_flow.py b/custom_components/pvoutput_publisher/config_flow.py index 8ee0edc..f66f542 100644 --- a/custom_components/pvoutput_publisher/config_flow.py +++ b/custom_components/pvoutput_publisher/config_flow.py @@ -35,11 +35,11 @@ def _get_system_schema(existing_data=None): if existing_data.get(CONF_TEMPERATURE_ENTITY_ID): schema[vol.Optional(CONF_TEMPERATURE_ENTITY_ID, default=existing_data.get(CONF_TEMPERATURE_ENTITY_ID))] = selector.EntitySelector( - selector.EntitySelectorConfig(domain="sensor", device_class="temperature") + selector.EntitySelectorConfig(domain="sensor") ) else: schema[vol.Optional(CONF_TEMPERATURE_ENTITY_ID)] = selector.EntitySelector( - selector.EntitySelectorConfig(domain="sensor", device_class="temperature") + selector.EntitySelectorConfig(domain="sensor") ) schema[vol.Required(CONF_FREQUENCY, default=str(existing_data.get(CONF_FREQUENCY, "5")))] = vol.In(frequency_options) @@ -54,7 +54,7 @@ def _get_system_schema(existing_data=None): selector.EntitySelectorConfig(domain="sensor", device_class=["power", "energy"]) ) schema[vol.Optional(CONF_TEMPERATURE_ENTITY_ID)] = selector.EntitySelector( - selector.EntitySelectorConfig(domain="sensor", device_class="temperature") + selector.EntitySelectorConfig(domain="sensor") ) schema[vol.Required(CONF_FREQUENCY, default="5")] = vol.In(frequency_options) diff --git a/custom_components/pvoutput_publisher/manifest.json b/custom_components/pvoutput_publisher/manifest.json index e597a04..29bf985 100644 --- a/custom_components/pvoutput_publisher/manifest.json +++ b/custom_components/pvoutput_publisher/manifest.json @@ -9,5 +9,5 @@ "iot_class": "cloud_push", "issue_tracker": "https://github.com/SourceLabOrg/HomeAssistant-PVOutputPublisher/issues", "requirements": [], - "version": "1.0.1" + "version": "1.0.2" }