-
Please help with the floor plan card! I think this is incorrect - element: sensor.time
state_action:
- service: floorplan.text_set
service_data: $(entity.state)
- service: floorplan.class_set
service_data:
class: static-temp
tap_action: false |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @Trzinka Could you please consider looking for the answer in the docs, examples and YouTube videos? I also noticed that the translation does bring wierd formatted text. I'd suggest you to use a bit more time on that part. Like, there's no need for I like that the YAML code are formatted, though. I hope you understand that we have plenty of resources out there, and we're spend out time to bring a lot of cases to the table. So, please, watch the videos, and play around with more of the examples. I hope you understand 👍 😄 After you've looked at the docs, take a look at my collection for the YouTube videos here: https://github.com/exetico/Home-Assistant_Attachments-for-YouTube/tree/8287cb442d98346f6e78400a4e9bdadafb995740 Personally I've deleted every email I get about topics from you. And I'm not trying to be rude or anything. Not at all. Personally I'm normally saving every ha-floorplan related discussions and issues, cause I like to find a day once in a while, finding time to reply, and give better answer (than a single line of code, or similar). But that high volume for a single user are simply a bit too overwhelming. And, now that I have found a almost 1:1 question-match with a video tutorial I made, I think you should take your time, watch the videos I've made to help the community, check all our examples, and prepare yourself for a few more technical steps. At that time, I'm sure other people are here to help! 😃 And, going back to the original question: There's also code examples attached to the video: |
Beta Was this translation helpful? Give feedback.
-
The solution is: - entities:
- sensor.time
- sensor.date_long
state_action:
service: floorplan.text_set
service_data: |
> return `${entity.state}`; |
Beta Was this translation helpful? Give feedback.
The solution is: