This commit is contained in:
J. Nick Koston 2023-06-09 17:58:46 -05:00
parent 47dfea74dd
commit a30cacabd6
No known key found for this signature in database
1 changed files with 17 additions and 17 deletions

View File

@ -29,7 +29,7 @@ sensor:
type: openings type: openings
entity_category: diagnostic entity_category: diagnostic
ratgdo_id: ${id_prefix} ratgdo_id: ${id_prefix}
name: "${friendly_name} Openings" name: "Openings"
unit_of_measurement: "openings" unit_of_measurement: "openings"
icon: mdi:open-in-app icon: mdi:open-in-app
@ -39,7 +39,7 @@ switch:
type: lock type: lock
entity_category: config entity_category: config
ratgdo_id: ${id_prefix} ratgdo_id: ${id_prefix}
name: "${friendly_name} Lock remotes" name: "Lock remotes"
- platform: gpio - platform: gpio
id: "${id_prefix}_status_door" id: "${id_prefix}_status_door"
internal: true internal: true
@ -47,7 +47,7 @@ switch:
number: D0 # D0 output door status, HIGH for open, LOW for closed number: D0 # D0 output door status, HIGH for open, LOW for closed
mode: mode:
output: true output: true
name: "${friendly_name} Status door" name: "Status door"
entity_category: diagnostic entity_category: diagnostic
- platform: gpio - platform: gpio
id: "${id_prefix}_status_obstruction" id: "${id_prefix}_status_obstruction"
@ -56,7 +56,7 @@ switch:
number: D8 # D8 output for obstruction status, HIGH for obstructed, LOW for clear number: D8 # D8 output for obstruction status, HIGH for obstructed, LOW for clear
mode: mode:
output: true output: true
name: "${friendly_name} Status obstruction" name: "Status obstruction"
entity_category: diagnostic entity_category: diagnostic
binary_sensor: binary_sensor:
@ -64,13 +64,13 @@ binary_sensor:
type: motion type: motion
id: ${id_prefix}_motion id: ${id_prefix}_motion
ratgdo_id: ${id_prefix} ratgdo_id: ${id_prefix}
name: "${friendly_name} Motion" name: "Motion"
device_class: motion device_class: motion
- platform: ratgdo - platform: ratgdo
type: obstruction type: obstruction
id: ${id_prefix}_obstruction id: ${id_prefix}_obstruction
ratgdo_id: ${id_prefix} ratgdo_id: ${id_prefix}
name: "${friendly_name} Obstruction" name: "Obstruction"
device_class: problem device_class: problem
on_press: on_press:
- switch.turn_on: ${id_prefix}_status_obstruction - switch.turn_on: ${id_prefix}_status_obstruction
@ -80,7 +80,7 @@ binary_sensor:
type: motor type: motor
id: ${id_prefix}_motor id: ${id_prefix}_motor
ratgdo_id: ${id_prefix} ratgdo_id: ${id_prefix}
name: "${friendly_name} Motor" name: "Motor"
device_class: running device_class: running
entity_category: diagnostic entity_category: diagnostic
- platform: gpio - platform: gpio
@ -91,7 +91,7 @@ binary_sensor:
mode: mode:
input: true input: true
pullup: true pullup: true
name: "${friendly_name} Dry contact open" name: "Dry contact open"
entity_category: diagnostic entity_category: diagnostic
on_press: on_press:
- if: - if:
@ -107,7 +107,7 @@ binary_sensor:
mode: mode:
input: true input: true
pullup: true pullup: true
name: "${friendly_name} Dry contact close" name: "Dry contact close"
entity_category: diagnostic entity_category: diagnostic
on_press: on_press:
- if: - if:
@ -123,7 +123,7 @@ binary_sensor:
mode: mode:
input: true input: true
pullup: true pullup: true
name: "${friendly_name} Dry contact light" name: "Dry contact light"
entity_category: diagnostic entity_category: diagnostic
on_press: on_press:
- light.toggle: ${id_prefix}_light - light.toggle: ${id_prefix}_light
@ -134,7 +134,7 @@ number:
type: rolling_code_counter type: rolling_code_counter
entity_category: config entity_category: config
ratgdo_id: ${id_prefix} ratgdo_id: ${id_prefix}
name: "${friendly_name} Rolling code counter" name: "Rolling code counter"
mode: box mode: box
unit_of_measurement: "codes" unit_of_measurement: "codes"
@ -142,7 +142,7 @@ cover:
- platform: ratgdo - platform: ratgdo
id: ${id_prefix}_garage_door id: ${id_prefix}_garage_door
device_class: garage device_class: garage
name: "${friendly_name} Door" name: "Door"
ratgdo_id: ${id_prefix} ratgdo_id: ${id_prefix}
on_closed: on_closed:
- switch.turn_off: ${id_prefix}_status_door - switch.turn_off: ${id_prefix}_status_door
@ -152,24 +152,24 @@ cover:
light: light:
- platform: ratgdo - platform: ratgdo
id: ${id_prefix}_light id: ${id_prefix}_light
name: "${friendly_name} Light" name: "Light"
ratgdo_id: ${id_prefix} ratgdo_id: ${id_prefix}
button: button:
- platform: restart - platform: restart
name: "${friendly_name} Restart" name: "Restart"
- platform: safe_mode - platform: safe_mode
name: "${friendly_name} Safe mode boot" name: "Safe mode boot"
entity_category: diagnostic entity_category: diagnostic
- platform: ratgdo - platform: ratgdo
id: ${id_prefix}_sync id: ${id_prefix}_sync
type: sync type: sync
entity_category: diagnostic entity_category: diagnostic
ratgdo_id: ${id_prefix} ratgdo_id: ${id_prefix}
name: "${friendly_name} Sync" name: "Sync"
- platform: ratgdo - platform: ratgdo
id: ${id_prefix}_query id: ${id_prefix}_query
type: query type: query
entity_category: diagnostic entity_category: diagnostic
ratgdo_id: ${id_prefix} ratgdo_id: ${id_prefix}
name: "${friendly_name} Query" name: "Query"