Hi, Can I exclude pyscript from logbook? It’s spamming it
1 Like
@swiftlyfalling How does one get VS Code to talk to it? I think I’m close…
I’ve got VSCode on Windows talking to Home Assistant via the “Remote - SSH” VScode extension. I can edit my files via VScode now and hopefully utilize CoPilot.
But I now have two issues:
- It’s not recognizing the Home Assistant specific functions, so I’m sure I need to include something to make VScode aware? What do I include and how?
- It’s asking me to Select Interpreter - any idea how? What’s the path to it?
+1 for this. It’s doing my head in.
when using a @state_trigger based on the entity attribute (temperature) in the function that is triggered, is it possible to get the temperature attribute old and new values and not just the changes to the entity main state ?
@state_trigger(sensor.bed_3_trv_signal.temperature)
def temp_changed(**kwargs):
log.info(f"got arguments {kwargs}");
Thanks
1 Like