Hello all. I am trying to create a markdown reusable field that if edited, it will display the same information on other dashboards.
For instance:
I have to copy this card from one dashboard to be displayed in three different dashboards to be shown on three different tablets. So if I make a change to the buttons on one dashboard, I have to copy this markdown card and place it in all of the dashboards. Much like how input_text works, where it shows the changes made no matter where the input_text is placed. I would like a way to edit on markdown with an ID and place it is different places and it will display the same everywhere else.
I tried the following, but it is not working. In the configuration.yaml file, I have the following:
sensor:
- platform: template
sensors:
shared_text_sensor:
value_template: "{{ states('input_text.dispay_living_room_cube') }}"
- platform: template
sensors:
shared_text_sensor:
value_template: "{{ states('input_text.dispay_office_cube') }}"
- platform: template
sensors:
shared_text_sensor:
value_template: "{{ states('input_text.dispay_bedroom_buttons') }}"
- platform: template
sensors:
shared_text_sensor:
value_template: "{{ states('input_text.dispay_master_bathroom_buttons') }}"
- platform: template
sensors:
shared_text_sensor:
value_template: "{{ states('input_text.dispay_guest_bathroom_buttons') }}"
- platform: template
sensors:
shared_text_sensor:
value_template: "{{ states('input_text.dispay_office_buttons') }}"
- platform: template
sensors:
shared_text_sensor:
value_template: "{{ states('input_text.dispay_office_guest_buttons') }}"
- platform: template
sensors:
shared_text_sensor:
value_template: "{{ states('input_text.dispay_random_text') }}"
In the markdown card, I have the following.
- type: markdown
content: '{{ states(''input_text.dispay_living_room_cube'') }}'
I like input_text, where every once in a while, I will put a quote, and it is displayed at the top of each dashboard. I usually put up a cool quote. But I have six Sonoff buttons all over the house. I just want to be able to do what I did in the screenshot above, have it posted in several dashboards where it is needed and all I have to do is post it once. Of course, with input_text, I do not want it edited by anyone but the admin which is why I would like to use markdown. Any ideas on this one?