esphome mi 1s lamp
This commit is contained in:
20
packages/ms_teams_status.yaml
Normal file
20
packages/ms_teams_status.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
input_text:
|
||||
teams_status:
|
||||
name: Microsoft Teams status
|
||||
icon: mdi:microsoft-teams
|
||||
teams_activity:
|
||||
name: Microsoft Teams activity
|
||||
icon: mdi:phone-off
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
sensors:
|
||||
teams_status:
|
||||
friendly_name: "Microsoft Teams status"
|
||||
value_template: "{{states('input_text.teams_status')}}"
|
||||
icon_template: "{{state_attr('input_text.teams_status','icon')}}"
|
||||
unique_id: sensor.teams_status
|
||||
teams_activity:
|
||||
friendly_name: "Microsoft Teams activity"
|
||||
value_template: "{{states('input_text.teams_activity')}}"
|
||||
unique_id: sensor.teams_activity
|
Reference in New Issue
Block a user