I’m sorry if I misunderstand here the need of config details. I let everything standard. I did not change anything to adapt operation mode. please find below the config:
# You might want to use an alternative service that receives
# the operation mode name.
# (default: climate/set_operation_mode)
#opmode_heat_service: climate/set_operation_mode
#opmode_off_service: climate/set_operation_mode
# Set to null in order to omit the operation mode from the service call.
# (default: operation_mode)
#opmode_heat_service_attr: operation_mode
#opmode_off_service_attr: operation_mode
# Entity attribute that holds the name of the current operation mode.
# This is used to detect manual temperature adjustments, provide
# correct temperature values on startup and notice that a
# thermostat picked up temperature changes.
# (default: operation_mode)
#opmode_state_attr: operation_mode
I’m Using this component:
https://gitea.ddns.net/thundergreen/Xiaomi-remote-climate
I can see operation mode. but still get those errors:
Watching the python scripts I also see attributes operation_mode
https://gitea.ddns.net/thundergreen/Xiaomi-remote-climate/src/branch/master/custom_components/climate/xiaomi_remote.py
this is in the logs:
Config custom component:
- platform: xiaomi_remote
operation_mode: off
name: Air Conditioner Rose
remote: remote.remote_rose
temp_sensor: sensor.temperature_6
commands: !include Hitachi.yaml
customize:
operation_list:
- cool
- heat
- dry
- auto
- fan_only
fan_list:
- low
- medium
- high
- auto
Error log:
2018-09-24 14:07:53.263566 INFO AppDaemon: HASS: Connected to Home Assistant 0.78.0
2018-09-24 14:07:53.600702 INFO AppDaemon: Processing restart for HASS
2018-09-24 14:07:53.601036 INFO AppDaemon: Terminating heaty_full
2018-09-24 14:07:53.601644 INFO AppDaemon: Initializing app heaty_full using class HeatyApp from module hass_apps_loader
2018-09-24 14:07:53.603299 INFO heaty_full: *** Welcome to heaty (version 0.16.0)!
2018-09-24 14:07:53.604712 INFO heaty_full: ***
2018-09-24 14:07:53.605938 INFO heaty_full: *** This is an app from the hass-apps package.
2018-09-24 14:07:53.606792 INFO heaty_full: *** DOCS: https://hass-apps.readthedocs.io/en/stable/
2018-09-24 14:07:53.607678 INFO heaty_full: ***
2018-09-24 14:07:53.608465 INFO heaty_full: *** If you like this app and want to honor the effort put into it,
2018-09-24 14:07:53.609335 INFO heaty_full: *** please consider a donation.
2018-09-24 14:07:53.610411 INFO heaty_full: *** DONATE: https://hass-apps.readthedocs.io/en/stable/#donations
2018-09-24 14:07:53.611359 INFO heaty_full: *** Thank you very much and enjoy heaty!
2018-09-24 14:07:53.612114 INFO heaty_full: ***
2018-09-24 14:07:53.612776 INFO heaty_full: --- Validating the app's configuration.
2018-09-24 14:07:53.617497 INFO heaty_full: --- Heaty id is: 'default'
2018-09-24 14:07:53.618783 INFO heaty_full: --- Importing modules for use in temperature expressions.
2018-09-24 14:07:53.619804 INFO heaty_full: --- [R:Room Rose] Initializing room (name='rose').
2018-09-24 14:07:53.621151 INFO heaty_full: <-- [R:Room Rose] Querying state of 'sensor.heaty_default_room_rose_scheduled_temp'.
2018-09-24 14:07:53.622921 INFO heaty_full: --> [R:Room Rose] = None
2018-09-24 14:07:53.624604 INFO heaty_full: --- [R:Room Rose] Last scheduled temperature is unknown.
2018-09-24 14:07:53.626478 INFO heaty_full: --- [R:Room Rose] [T:climate.air_conditioner_rose] Initializing thermostat (entity_id='climate.air_conditioner_ros
e').
2018-09-24 14:07:53.629256 WARNING heaty_full: !!! [R:Room Rose] [T:climate.air_conditioner_rose] Thermostat has no attribute named 'operation_mode'. Availabl
e attributes are ['current_temperature', 'friendly_name', 'max_temp', 'min_temp', 'power', 'supported_features', 'target_temp_step', 'temperature', 'attribute
s', 'context', 'entity_id', 'last_changed', 'last_updated', 'state']. Please check your config!
2018-09-24 14:07:53.630836 WARNING heaty_full: !!! [R:Room Rose] [T:climate.air_conditioner_rose] The value None for attribute 'current_temperature' is no val
id temperature value. Please check your config!
2018-09-24 14:07:53.632436 WARNING heaty_full: !!! [R:Room Rose] [T:climate.air_conditioner_rose] Attributes for thermostat contain no 'operation_list', Consi
der disabling operation mode support.
2018-09-24 14:07:53.634191 INFO heaty_full: --- [R:Room Rose] [T:climate.air_conditioner_rose] Fetching initial state.
2018-09-24 14:07:53.635458 INFO heaty_full: --> [R:Room Rose] [T:climate.air_conditioner_rose] Attribute 'operation_mode' is None.
2018-09-24 14:07:53.636873 ERROR heaty_full: !!! [R:Room Rose] [T:climate.air_conditioner_rose] Unknown operation mode, ignoring thermostat.
2018-09-24 14:07:53.638242 INFO heaty_full: --- [R:Room Rose] [T:climate.air_conditioner_rose] Listening for state changes.
2018-09-24 14:07:53.640256 INFO heaty_full: --- [R:Room Rose] [W:binary_sensor.door_window_sensor_158d00019daf13] Initializing window sensor (entity_id='binar
y_sensor.door_window_sensor_158d00019daf13').
2018-09-24 14:07:53.642045 INFO heaty_full: --- [R:Room Rose] [W:binary_sensor.door_window_sensor_158d00019daf13] Listening for state changes (delay=10).
2018-09-24 14:07:53.643622 INFO heaty_full: --- [R:Room Rose] Registering scheduling timers at: {08:00:00, 07:45:00, 17:30:00, 07:15:00}
2018-09-24 14:07:53.645664 INFO heaty_full: --- [R:Room Evan] Initializing room (name='evan').
2018-09-24 14:07:53.648023 INFO heaty_full: <-- [R:Room Evan] Querying state of 'sensor.heaty_default_room_evan_scheduled_temp'.
2018-09-24 14:07:53.650246 INFO heaty_full: --> [R:Room Evan] = None
2018-09-24 14:07:53.651993 INFO heaty_full: --- [R:Room Evan] Last scheduled temperature is unknown.
2018-09-24 14:07:53.653683 INFO heaty_full: --- [R:Room Evan] [T:climate.air_conditioner_evan] Initializing thermostat (entity_id='climate.air_conditioner_eva
n').
2018-09-24 14:07:53.656186 WARNING heaty_full: !!! [R:Room Evan] [T:climate.air_conditioner_evan] Thermostat has no attribute named 'operation_mode'. Availabl
e attributes are ['current_temperature', 'friendly_name', 'max_temp', 'min_temp', 'power', 'supported_features', 'target_temp_step', 'temperature', 'attribute
s', 'context', 'entity_id', 'last_changed', 'last_updated', 'state']. Please check your config!
2018-09-24 14:07:53.658291 WARNING heaty_full: !!! [R:Room Evan] [T:climate.air_conditioner_evan] The value None for attribute 'current_temperature' is no val
id temperature value. Please check your config!
2018-09-24 14:07:53.660124 WARNING heaty_full: !!! [R:Room Evan] [T:climate.air_conditioner_evan] Attributes for thermostat contain no 'operation_list', Consi
der disabling operation mode support.
2018-09-24 14:07:53.665232 INFO heaty_full: --- [R:Room Evan] [T:climate.air_conditioner_evan] Fetching initial state.
2018-09-24 14:07:53.667537 INFO heaty_full: --> [R:Room Evan] [T:climate.air_conditioner_evan] Attribute 'operation_mode' is None.
2018-09-24 14:07:53.669460 ERROR heaty_full: !!! [R:Room Evan] [T:climate.air_conditioner_evan] Unknown operation mode, ignoring thermostat.
2018-09-24 14:07:53.671258 INFO heaty_full: --- [R:Room Evan] [T:climate.air_conditioner_evan] Listening for state changes.
2018-09-24 14:07:53.673222 INFO heaty_full: --- [R:Room Evan] [W:binary_sensor.door_window_sensor_158d00019dae38] Initializing window sensor (entity_id='binar
y_sensor.door_window_sensor_158d00019dae38').
2018-09-24 14:07:53.675212 INFO heaty_full: --- [R:Room Evan] [W:binary_sensor.door_window_sensor_158d00019dae38] Listening for state changes (delay=10).
2018-09-24 14:07:53.677109 INFO heaty_full: --- [R:Room Evan] Registering scheduling timers at: {22:00:00, 07:45:00, 07:15:00, 21:00:00}
2018-09-24 14:07:53.679374 INFO heaty_full: --- [R:Bedroom] Initializing room (name='bedroom').
2018-09-24 14:07:53.680990 INFO heaty_full: <-- [R:Bedroom] Querying state of 'sensor.heaty_default_room_bedroom_scheduled_temp'.
2018-09-24 14:07:53.683024 INFO heaty_full: --> [R:Bedroom] = None
2018-09-24 14:07:53.684752 INFO heaty_full: --- [R:Bedroom] Last scheduled temperature is unknown.
2018-09-24 14:07:53.686730 INFO heaty_full: --- [R:Bedroom] [T:climate.air_conditioner_bedroom] Initializing thermostat (entity_id='climate.air_conditioner_be
droom').
2018-09-24 14:07:53.689280 WARNING heaty_full: !!! [R:Bedroom] [T:climate.air_conditioner_bedroom] Thermostat has no attribute named 'operation_mode'. Availab
le attributes are ['current_temperature', 'friendly_name', 'max_temp', 'min_temp', 'power', 'supported_features', 'target_temp_step', 'temperature', 'attribut
es', 'context', 'entity_id', 'last_changed', 'last_updated', 'state']. Please check your config!
2018-09-24 14:07:53.691513 WARNING heaty_full: !!! [R:Bedroom] [T:climate.air_conditioner_bedroom] The value None for attribute 'current_temperature' is no va
lid temperature value. Please check your config!
2018-09-24 14:07:53.693588 WARNING heaty_full: !!! [R:Bedroom] [T:climate.air_conditioner_bedroom] Attributes for thermostat contain no 'operation_list', Cons
ider disabling operation mode support.
2018-09-24 14:07:53.695422 INFO heaty_full: --- [R:Bedroom] [T:climate.air_conditioner_bedroom] Fetching initial state.
2018-09-24 14:07:53.697115 INFO heaty_full: --> [R:Bedroom] [T:climate.air_conditioner_bedroom] Attribute 'operation_mode' is None.
2018-09-24 14:07:53.698412 ERROR heaty_full: !!! [R:Bedroom] [T:climate.air_conditioner_bedroom] Unknown operation mode, ignoring thermostat.
2018-09-24 14:07:53.699425 INFO heaty_full: --- [R:Bedroom] [T:climate.air_conditioner_bedroom] Listening for state changes.
2018-09-24 14:07:53.705277 INFO heaty_full: --- [R:Bedroom] [W:binary_sensor.door_window_sensor_158d00019f308a] Initializing window sensor (entity_id='binary_
sensor.door_window_sensor_158d00019f308a').
2018-09-24 14:07:53.706894 INFO heaty_full: --- [R:Bedroom] [W:binary_sensor.door_window_sensor_158d00019f308a] Listening for state changes (delay=10).
2018-09-24 14:07:53.708419 INFO heaty_full: --- [R:Bedroom] Registering scheduling timers at: {23:30:00, 22:30:00}
2018-09-24 14:07:53.709948 INFO heaty_full: --- Listening for heaty_reschedule event.
2018-09-24 14:07:53.711092 INFO heaty_full: --- Listening for heaty_set_temp event.
2018-09-24 14:07:53.711942 INFO heaty_full: --- Listening for state changes of master switch (entity_id='input_boolean.heating_master').
2018-09-24 14:07:53.712103 WARNING AppDaemon: heaty_full: Entity input_boolean.heating_master not found in AppDaemon
2018-09-24 14:07:53.713595 INFO heaty_full: --- Master switch is off, not setting temperatures initially.
2018-09-24 14:07:53.715253 INFO heaty_full: --- [SZ:upstairs] Initializing statistics zone (name='upstairs').
2018-09-24 14:07:53.716820 WARNING heaty_full: !!! [SZ:upstairs] No parameters configured.
2018-09-24 14:07:53.718898 INFO heaty_full: --- [SZ:upstairs] Listening for temperature changes of T:climate.air_conditioner_rose in R:Room Rose.
2018-09-24 14:07:53.720453 INFO heaty_full: --- [SZ:upstairs] Listening for temperature changes of T:climate.air_conditioner_evan in R:Room Evan.
2018-09-24 14:07:53.722237 INFO heaty_full: --- [SZ:upstairs] Listening for temperature changes of T:climate.air_conditioner_bedroom in R:Bedroom.
2018-09-24 14:07:53.723969 INFO heaty_full: --- [SZ:upstairs] Going to update statistics in 3 seconds.
2018-09-24 14:07:53.724920 INFO heaty_full: *** Initialization done.
2018-09-24 14:07:56.005110 INFO heaty_full: --- [SZ:upstairs] No parameters configured, nothing to update.