Is it possible to check of one sensor state is not the same as an other sensor state?
Example:
If
entity: sensor.home_assistant_operating_system_newest_version
Is not the same version as:
entity: sensor.home_assistant_operating_system_version
Sensor.update_availible = on
Thank you, i tried using it in my current update template, but it does not seem to work.
sensor:
name: "System Update Status"
icon: "mdi:update"
state: >
{% if is_state('binary_sensor.appdaemon_4_update_available', 'off') and
is_state('binary_sensor.check_home_assistant_configuration_update_available', 'off') and
is_state('binary_sensor.home_assistant_operating_system_update_available', 'off') and
is_state('binary_sensor.log_viewer_update_available', 'off') and
is_state('binary_sensor.mariadb_update_available', 'off') and
is_state('binary_sensor.samba_share_update_available', 'off') and
is_state('binary_sensor.studio_code_server_update_available', 'off') and
is_state('binary_sensor.terminal_ssh_update_available', 'off') and
is_state('binary_sensor.z_wave_js_to_mqtt_update_available', 'off') and
is_state('binary_sensor.home_assistant_operating_system_update_available', 'off') and
is_state('sensor.installed_version.state != states.sensor.available_version.state') and
is_state('sensor.hacs', '0') %}
No Updates
{% else %}
Update Available
{% endif %}