binary_sensor: - platform: template sensors: inverted_quiet_time_sensor: value_template: >- {{ is_state('input_boolean.quiet_time', 'off') }} #device_class: None friendly_name: Quiet Time (Inverted)