I want to define a substitution for the internal boolean variable and then inverse that boolean. Any ideas, below is a non working example of what I am trying to do:
substitutions:
name_1: 'test'
switch1_visible_ha: 'false'
....
switch:
- platform: output
name: ${name_1}
id: switch_1
internal: !${switch1_visible}
output: relay_1