Add version argument to ESPDEPRECATED macro (#2116)

This commit is contained in:
Oxan van Leeuwen
2021-08-04 00:43:01 +02:00
committed by GitHub
parent 441d5bd44d
commit 20f7eb7327
7 changed files with 36 additions and 36 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
namespace esphome {
namespace light {
using ESPColor ESPDEPRECATED("esphome::light::ESPColor is deprecated, use esphome::Color instead.") = Color;
using ESPColor ESPDEPRECATED("esphome::light::ESPColor is deprecated, use esphome::Color instead.", "v1.21") = Color;
class AddressableLight : public LightOutput, public Component {
public: