Pessoal depois da atualização do Hassio todos os meus scripts do broadlink nao funcionam, só os switch. O que faço para voltar a funcionar?
O custom component mudou a partir da versao 0.88 e agora é smartir.
Tens algumas alterações a fazer consoante o tipo de componente que estavas a usar.
Podes ver aqui a info:
https://github.com/vpnmaster/homeassistant-custom-components
Fiz as alterações e funcionaram os SmartIR, mas os scripts nada.
Sempre usei assim:
fechadura:
sequence:
- service: switch.broadlink_send_packet_192_168_31_241
data:
packet:
- sgA6AQkbCQABFhsKGwobChsKGwkJHBsJCRwbChsJCRsJHAgcCRsJGwkbHAkJHAgcGwkcChsKCBwIHAkAARUcCRwJGwocCRsKCRscCQkcGwkcCQkcCBwIHAkbCRwIHBsKCBwIHBwJGwobCgkbCRsJAAEWGwobChsKGwobCgkbGwoJGxwJHAkJHAgcCBwJGwkbCRwbCggcCRscCRwJHAkJHAgcCAABFhwJHAobCRwJHAoIHBsKCRsbChwJCRsJHAgcCRwIHAgcGwoJGwkbHAkcChsJCRwJGwkAARYbChsKHAkbChwJCRwbCggcHAkcCQkbCRwIHAkbCRwIHBsKCRsJGxwJHAkcCgkbCRsJAAEWHAobChsKGwobCgkcGwoIHBsKHAkJGwkcCRsJGwobCRscCggcCRwbChwJDDAKAAXcAAAAAAAAAAAAAAAAAAA=
Na útlima atualização acho que mudou a forma com é chamado o service. Penso que deves coliocar desta forma:
- service: broadlink.send
data:
host: 192.168.1.32
packet:
@Marcos_Emanuel o que o @Luis_Martins disse está correcto.
É obrigátorio qualquer utilizador do Home Assistente ler as breaking changes sempre que sai uma nova versão.
Podes e DEVES consultar essa informação no site oficial.
Valeu. ajudou muito. Deu certo aqui dessa forma:
fechadura:
sequence:
- service: broadlink.send
data:
host: 192.168.31.241
packet:
- sgA6AQkbCQABFhsKGwobChsKGwkJHBsJCRwbChsJCRsJHAgcCRsJGwkbHAkJHAgcGwkcChsKCBwIHAkAARUcCRwJGwocCRsKCRscCQkcGwkcCQkcCBwIHAkbCRwIHBsKCBwIHBwJGwobCgkbCRsJAAEWGwobChsKGwobCgkbGwoJGxwJHAkJHAgcCBwJGwkbCRwbCggcCRscCRwJHAkJHAgcCAABFhwJHAobCRwJHAoIHBsKCRsbChwJCRsJHAgcCRwIHAgcGwoJGwkbHAkcChsJCRwJGwkAARYbChsKHAkbChwJCRwbCggcHAkcCQkbCRwIHAkbCRwIHBsKCRsJGxwJHAkcCgkbCRsJAAEWHAobChsKGwobCgkcGwoIHBsKHAkJGwkcCRsJGwobCRscCggcCRwbChwJDDAKAAXcAAAAAAAAAAAAAAAAAAA=