• 0 Posts
  • 104 Comments
Joined 2 years ago
cake
Cake day: June 1st, 2023

help-circle






  • For c to c cables, the devices need to be able to communicate with each other to establish which one is the host (the charger in this case). With a to c cables, the type a side is assumed to be the host by default. You’ll often find that manufacturers of cheaper devices prefer not to spend the extra money to implement this technology, though some will, and in fact allow for even more functionality. For example, one of my flashlights does have that chip, so it can both charge from a c to c cable if a charger is detected, and also automatically act as a power bank if I connect a device to it such as a mobile phone.









  • Going from your suggestions I was able to find a workaround to change the device’s state with just one click, so thank you for that.

    For the second problem, it seems that while HA sends a command instantly, it only actually changes states on the dashboard once the device sensors update, which seems to be hard coded to happen about every 30 seconds. I am using an integration from HACS (Custom VeSync) though, so I feel like the problem is more likely to do with my own setup. Then again HA would previously just send the requested command no matter what the state was before…

    Either way I’m not really familiar with Github beyond reading release notes and readmes.

    Edit: Reading further into the integration I’m using, I realized that it relies on cloud polling. I wonder if there’s a way to make Home Assistant assume that a command went through, change states immediately, and then confirm the change with the next polling cycle, rather than just waiting. Unfortunately I don’t know how to implement something like this.


  • I do have one problem with the new humidifier cards. Some buttons got shuffled around and now turning a device off and on went from being a single click to three separate operations. Additionally, it is less reliable now, as it won’t send a turn on/off command instantly, rather only when the state of the device changes in HA. I don’t toggle them frequently, but when I do I want it to be fast. I’m sure there’s some workaround for it, but it just worked previously and now it just doesn’t.