21 lines
637 B
YAML
21 lines
637 B
YAML
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
|