nyffchanium / argoclima-integration Goto Github PK
View Code? Open in Web Editor NEWHome Assistant integration for Argoclima (Argo) climate control devices
License: MIT License
Home Assistant integration for Argoclima (Argo) climate control devices
License: MIT License
Add your logs here.
A clear and concise description of what the bug is.
Add your logs here.
Is your feature request related to a problem? Please describe.
This integration obviously needs an additional service call climate.turn_on to finally turn on the device.
(Addon-) Integration(s) such as scheduler-card @ do not support this and state, that this is also no common practice within Home Assistant (which I don't dare to judge).
Describe the solution you'd like
hvac_mode already supports all operational modes as well as the "off" state. This should met all technical requirements for operation and obsolete the additional service call.
So the final solution would be, to start the device automatically by selecting any other hvac_mode than "off" and switching it off if selecting the latter.
Describe alternatives you've considered
I do currently work around this issue (in terms of automations) with having different scheduler scripts for turning on (scripted approach via scheduler-card) and turning off (simple automation containing the climate.turn_off service call) the device, which is some overhead.
Additional context
./.
The option flow is not working (doesn't load current values, can't save) because the passed ConfigEntry does contain no options.
No idea why.
1.1.1
plugin configured via workflow, therefore no settings in yaml
below warning related to the argo AC integration is emitted to HA's log during startup
2022-07-10 14:10:44 DEBUG (MainThread) [custom_components.argoclima] Finished fetching argoclima data in 2.942 seconds (success: True)
2022-07-10 14:10:44 DEBUG (MainThread) [custom_components.argoclima] Finished fetching argoclima data in 2.942 seconds (success: True)
2022-07-10 14:10:53 WARNING (MainThread) [homeassistant.components.number] custom_components.argoclima.number::ArgoEcoLimitNumber is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.
2022-07-10 14:11:03 DEBUG (MainThread) [custom_components.argoclima] Finished fetching argoclima data in 0.073 seconds (success: True)
2022-07-10 14:11:13 DEBUG (MainThread) [custom_components.argoclima] Finished fetching argoclima data in 0.097 seconds (success: True)
2022-07-10 14:11:25 DEBUG (MainThread) [custom_components.argoclima] Finished fetching argoclima data in 1.124 seconds (success: True)
2022-07-10 14:11:35 DEBUG (MainThread) [custom_components.argoclima] Finished fetching argoclima data in 0.596 seconds (success: True)
2022-07-10 14:11:45 DEBUG (MainThread) [custom_components.argoclima] Finished fetching argoclima data in 0.267 seconds (success: True)
2022-07-10 14:01:59 WARNING (MainThread) [homeassistant.components.number] custom_components.argoclima.number::ArgoEcoLimitNumber is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.
ArgoClima unavailable after 20s and again available about 20s and again unavailable about 20s โฆ it just keeps going like this.
1.1.2 (latest)
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
# Text-to-speech
tts:
- platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
fan:
- platform: xiaomi_miio_fan
name: Living Room Fan
host: 192.168.178.152
token: 7be1c71de58403c37ac348595886827c
logger:
default: critical
logs:
custom_components.argoclima: debug
attempting to connect to the AC's IP address fails with error "Could not reach host or host is not a supported device."
all I see is the usual warning about custom component that I see for several of mine
perhaps there's something I'm missing in getting logging to work but I see nothing other than that for argoclima
Argoclima component: latest master
Home Assistant: 2022.6.6
none
Just tried to setup the integration through the Devices & Services page and got this:
Logs found:
Logger: homeassistant.config_entries
Source: config_entries.py:749
First occurred: 12:27:40 AM (3 occurrences)
Last logged: 12:29:44 AM
Error occurred loading configuration flow for integration argoclima: No module named 'custom_components.argoclima.api'
Haven't found more than the mentioned log above when setting:
logger:
logs:
custom_components.argoclima: debug
1.1.2
plugin configured via UI, no yaml config available
After upgrading to HA 2024.1 I found the following logs in home-assistant.log after startup.
2024-01-15 11:52:45.073 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from argoclima, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/nyffchanium/argoclima-integration/issues
2024-01-15 11:52:45.090 WARNING (MainThread) [homeassistant.const] TEMP_FAHRENHEIT was used from argoclima, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.FAHRENHEIT instead, please create a bug report at https://github.com/nyffchanium/argoclima-integration/issues
The method for providing platform translations has changed in Home Assistant Core, and this integration needs to be updated.
Implement the new format
Drop translations
Details can be found in https://developers.home-assistant.io/blog/2024/03/05/platform_entity_translations_deprecation
Adding it could be a nice thing.
TnX
D.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.