I am currently using below given codes within the generic-bk7231t-qfn32-tuya IR blaster devices. However due to memory limitation or some other hardware challenges if we load more such values getting timeout issues. Is it possible for us to convert this as a template and load the values from a local web page hosting corresponding values?
- platform: template
name: "Timer 1" #NEC
id: Timer1
turn_on_action:
- light.turn_on: status_light
- remote_transmitter.transmit_nec:
address: 0xF300
command: 0x7A85
- delay: 30ms
- light.turn_off: status_light
- switch.turn_off: Timer1
something similar to the below? I am still learning esphome and home assistant could someone give some ideas?
- platform: template
name: "Name of the switch" #NEC
id: id_of_the_switch
turn_on_action:
- light.turn_on: status_light
- remote_transmitter.transmit_nec:
address: load_this_from_local_web or configuration file from HA
command: load_this_from_local_web or configuration file from HA
- delay: 30ms
- light.turn_off: status_light
- switch.turn_off: id_of_the_switch