@dwaynepeeters , sure! So if you have your Tuya bulbs setup in HA using the Tuya Integration it will make all the bulbs âswitch.bulb_1â as the entity_ids. Now not knowing how you setup your HA using only the configuration.yaml as you main way of doing everything or you broke it all down into separate groups of things with directories for those items. Example is you have your segments of configuration broken up into separate directories like below in your âconfiguration.yamlâ file:
###############
# #
# Includes #
# #
###############
group: !include_dir_merge_named groups/
script: !include_dir_merge_named scripts/
automation: !include automations.yaml
sensor: !include_dir_merge_list sensors/
input_boolean: !include_dir_merge_named input_booleans/
binary_sensor: !include_dir_merge_list binary_sensors/
camera: !include_dir_merge_list cameras/
switch: !include_dir_merge_list switches/
light: !include_dir_merge_list lights/
scene: !include_dir_merge_list scenes/
cover: !include_dir_merge_list covers/
That way you can create a switches_to_lightes.yaml with the code I put in the above/below comment. What you are doing with that code is create a âswitchâ entity_id to a âlightâ entity_id. This will allow your HA to see your Tuya Bulbs as lights not a switch.
###########################################
##### Changing Switches to a Lights #####
###########################################
- platform: switch
name: Office Lamp
entity_id: switch.office_lamp
I hope that makes more sense or did I totally lose you?