Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add hive boost to climate and water_heater #26789
Add the ability to call the boost function for the hive hot water. it will also allow a time period to be set for the climate boost by implementing a hive boost service.
Related issue (if applicable): fixes #25536
If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
* dev: (42 commits) Remove default host for Plex config (#26583) Add Obihai integration (#26537) Add switch platform to iaqualink integration (#26545) Fix GTFS sensor wrong timezone (#26580) Make uk_transport sensor timezone/DST aware (#26577) Updated frontend to 20190911.0 (#26578) bump dependencies (#26576) Bump UPC connect / fix auth issue (#26570) Cleanup stale script stuff (#26573) Improve startup of devcontainer (#26572) Ignore test output [ci skip] Translation update deCONZ device automations (#26366) Nuki less strict (#26542) osram cluster (#26555) fix events for smartthings acceleration cluster (#26557) Fix tests Refactor Cast (#26550) Add sensor platform to iaqualink component (#26544) Bump geniushub-client to 0.6.13 (#26554) ...
…t into feature/add_boost * 'feature/add_boost' of github.com:KJonline/home-assistant: Update Libary to 0.2.19
* dev: (38 commits) Fix Environment Canada weather forecast, retain icon_code sensor (#26646) Rename MockToggleDevice to MockToggleEntity (#26644) Refactor nzbget to support future platform changes (#26462) deCONZ - Remove mechanisms to import a configuration from configuration.yaml (#26648) deCONZ - battery sensor instead of battery attribute (#26591) Add built in weather to Homematic IP Cloud (#26642) Move deCONZ services to their own file (#26645) Add group attribute to Homematic IP Cloud (#26618) Add iaqualink binary sensor and unique_id (#26616) zha ZCL color loop effect (#26549) [ci skip] Translation update deCONZ - create deconz_events through sensor platform (#26592) Update azure-pipelines-wheels.yml for Azure Pipelines Update azure-pipelines-wheels.yml Refactor Bluetooth Tracker to async (#26614) Fix Typo (#26612) [ci skip] Translation update Disable Watson TTS Telemetry (#26253) Improve bluetooth tracker device code (#26067) Bump zigpy-zigate to 0.3.1 (#26600) ...
* dev: (92 commits) Bump pynws version to 0.8.1 (#26770) Bump HAP-python to 2.6.0 for homekit (#26783) [ci skip] Translation update Add integration scaffolding script (#26777) Bump simplisafe-python to 5.0.1 (#26775) Bump aiowwlln to 2.0.2 (#26769) ZHA siren and warning device support (#26046) Add transport data from maps.yandex.ru api (#26766) Type hint additions (#26765) Bump openwrt-luci-rpc to version 1.1.1 (#26759) Revert "Add transport data from maps.yandex.ru api (#26252)" (#26762) [ci skip] Translation update Updated frontend to 20190919.0 deCONZ improve gateway tests (#26709) Add transport data from maps.yandex.ru api (#26252) Update codeowners (#26733) Bump influxdb to 5.2.3 (#26743) Izone component (#24550) Bump restrictedpython to 5.0 (#26741) Bumped version to 0.99.1 ...
* dev: (87 commits) Add ecobee services to create and delete vacations (#26923) Centralize rainbird config and add binary sensor platform (#26393) Add config flow to transmission (#26434) Add Plex config options support (#26870) Bump pyobihai, add unique ID and availability (#26922) Add mysensors codeowner (#26917) [ci skip] Translation update Add MySensors ACK (#26894) Remove lamps and groups from ha when removed from Hue (#26881) Add config flow to ecobee (#26634) deCONZ - Increase bridge discovery robustness in config flow (#26911) Add call direction sensor for Obihai (#26867) Bumped version to 0.99.3 HM-CC-TC was not recognized (#26623) Add google_assistant alarm_control_panel (#26249) deCONZ - Improve ssdp discovery by storing uuid in config entry (#26882) Fix missing whitespace around arithmetic operator (#26908) Fix bed_activity history chart of the Xiaomi Aqara vibration sensor (#26875) Add voltage attribute to Xiaomi Aqara devices (#26876) Bump ndms2-client to 0.0.9 (#26899) ...
Hi @MartinHjelmare, it looks like the pylint check is failing on the platform classes that call the parent class but don’t do anything else within the initialisation process e.g binary_sensor. Where as the climate and light platform which calls the parent and assigns a variable in the child class aren’t being flagged by pylint. Any ideas?
Hi @MartinHjelmare, apoligies i am not familiar with using super(). but when i remove the init method from the child classes i get an error advising
I have updated the classes to be the below but keep getting the above error.
class HiveSensorEntity(HiveEntity, Entity): super().__init__(hive_session, hive_device) @property def unique_id(self): """Return unique ID of entity.""" return self._unique_id`
Hi @MartinHjelmare, that’s seems to have passed all the checks now. I just wanted to say thanks for all your help with this. I started learning python with this component and this had been a massive learning curve. Thanks for your patience with me/this and there is still a lot for me to learn but I am looking forward to it.