Don’t know if this is possible but I am trying to dictate if an entity is internal or not based on the property of a switch. Basically changing it from internal to external on the fly. Below is an example of what I thought would work:
Strictly bandwidth. With all entities enabled, the esp will “miss” state updates. Not typically a problem having only choice entities enabled but there are choice times for debugging where having all entities enabled would provide benefit.
For example, sending the RPM or speed read from a canbus will shutdown the API to where it it wont update any entities. The canbus is running at 125kb but the data is being updated multiple times a second. Having just those two enabled is enough to bring it to a halt. My data connection is roughly 5mbit-10mbit
For that specific example that would work. However, i am experiencing incorrect states for gpio switches and binary sensors when I get past 75 entities. Ive been able to manage it but was looking for a quick way to enable and disable exposed entities to HA without manually having to enable each individual one.